package com.guofen.dao;

import com.guofen.pojo.RdFeed;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface RdFeedMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RdFeed record);

    int insertSelective(RdFeed record);

    RdFeed selectByPrimaryKey(Integer id);

    RdFeed getlast();

    int updateByPrimaryKeySelective(RdFeed record);

    int updateByPrimaryKey(RdFeed record);

    List<RdFeed> getList();
    List<RdFeed> getList2();
    List<RdFeed> getList3(Map map);

    List<RdFeed> selectAll();

    List<RdFeed> selectByDate(@Param("startDate") String startDate,
                              @Param("endDate") String endDate);
}